<form id="add-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Receive_type_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-receive_type_id"  data-rule="required" onchange="receive()"  data-source="receive_type/index" data-field="type_name" class="form-control selectpage" name="row[receive_type_id]" type="text" value="">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Building_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-building_id" onchange="building()" data-rule="required" data-params='{"custom[id]":"1"}' data-field="building_id" data-source="receive_building/index" class="form-control selectpage" name="row[building_id]" type="text" value="">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Receive_floor_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-floor_id"  data-params='{"custom[id]":"1"}' data-rule="required" data-source="receive_floor/index" data-field="floor_no" class="form-control selectpage" name="row[floor_id]" type="text" value="">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Room_no')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-room_no" data-rule="required" class="form-control" name="row[room_no]" type="text" value="">
        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-success btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>
